
class Vertex
   {
   public String label;
   public boolean wasVisited;
   public int father;

   public Vertex(String lab) 
      {
      label = lab;
      wasVisited = false;
      }
   
   public void setFather(int fat)
	   {
	   father = fat;
	   }
   } 
